<?php
/*
 * Copyright (c) 2017-2025 Tencent. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
namespace TencentCloud\Domain\V20180808\Models;
use TencentCloud\Common\AbstractModel;

/**
 * BatchModifyIntlDomainDNS request structure.
 *
 * @method array getDomains() Obtain The target domains.
 * @method void setDomains(array $Domains) Set The target domains.
 * @method array getDns() Obtain The domain DNS array.
 * @method void setDns(array $Dns) Set The domain DNS array.
 * @method string getBatchAction() Obtain Valid values: `batch_modify_domain_dns1`, `batch_modify_domain_dns2`, `batch_modify_domain_dns3`
 * @method void setBatchAction(string $BatchAction) Set Valid values: `batch_modify_domain_dns1`, `batch_modify_domain_dns2`, `batch_modify_domain_dns3`
 */
class BatchModifyIntlDomainDNSRequest extends AbstractModel
{
    /**
     * @var array The target domains.
     */
    public $Domains;

    /**
     * @var array The domain DNS array.
     */
    public $Dns;

    /**
     * @var string Valid values: `batch_modify_domain_dns1`, `batch_modify_domain_dns2`, `batch_modify_domain_dns3`
     */
    public $BatchAction;

    /**
     * @param array $Domains The target domains.
     * @param array $Dns The domain DNS array.
     * @param string $BatchAction Valid values: `batch_modify_domain_dns1`, `batch_modify_domain_dns2`, `batch_modify_domain_dns3`
     */
    function __construct()
    {

    }

    /**
     * For internal only. DO NOT USE IT.
     */
    public function deserialize($param)
    {
        if ($param === null) {
            return;
        }
        if (array_key_exists("Domains",$param) and $param["Domains"] !== null) {
            $this->Domains = $param["Domains"];
        }

        if (array_key_exists("Dns",$param) and $param["Dns"] !== null) {
            $this->Dns = $param["Dns"];
        }

        if (array_key_exists("BatchAction",$param) and $param["BatchAction"] !== null) {
            $this->BatchAction = $param["BatchAction"];
        }
    }
}
